﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace TrenchcoatRobots.Classes.ComponentClasses {
	/// <summary>
	/// The base class for all Colliders. This class will never be used, since it is abstract and therefore cannot be instantiated
	/// </summary>
	abstract class Collider : Component {
		String m_colliderType;

		/// <summary>
		/// Creates a new Collider
		/// </summary>
		/// <param name="gameObject">The GameObject this component belongs to</param>
		/// <param name="colliderType">The GameObject of which the component will be placed on</param>
		public Collider( ParentMethod parentMethod, String colliderType )
			: base( parentMethod, "Collider", false ) {
			m_colliderType = colliderType;
		}

		public String Type() {
			return m_colliderType;
		}
	}
}
